package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 课程章节删除DTO
 *
 * @author: yangyongchuan
 * @create: 2020年08月24日 23:02
 */
@ApiModel("课程章节删除DTO")
@Data
public class SubjectChapterDelDTO implements BaseDTO {

	private static final long serialVersionUID = -4464255545232908193L;
	/**
	 * 课程id
	 */
	@ApiModelProperty("课程id")
	@NotNull(message = "课程id不能为空", groups = {Delete.class})
	private Integer subjectId;

	/**
	 * 章节ID
	 */
	@ApiModelProperty("章节ID")
	private Integer chapterId;

	/**
	 * 章节课件ID
	 */
	@ApiModelProperty("章节课件ID")
	private Integer chcoId;
}
